let deal = function () {
    //doSomething with the origin file database
    //then store production file to middle database
    let testObj = {
        id:1,
        middleFiles:[]
    };
    middb.put(testObj,function (err,doc) {
        //do nothing
    })
};